package cn.lili.modules.order.order.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
public class RankingDistributionVO {
    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("下级用户id")
    private String userId;
    @ApiModelProperty("下级昵称")
    private String childFyName = "";
    @ApiModelProperty("下级账号")
    private String childAccount = "";

    @ApiModelProperty("昵称")
    private String nickName;
    @ApiModelProperty("邀请人id")
    private String parentId;
    @ApiModelProperty("(当前佣金)分销总额(结算完成的分佣金额)")
    private Double rebateTotal;
    @ApiModelProperty("下级人数")
    private Integer lowerCount = 0;
    @ApiModelProperty("等级")
    private Integer level;
    @ApiModelProperty("直推订单数（只要下单就算）")
    private Integer directOrderNumber = 0;
    @ApiModelProperty("总佣金（下单 的时候加 ，已退单的时候减。其余时间不变 ）")
    private Double grossCommission;
    @ApiModelProperty("审核状态 1待审核 , 2审核通过 3,审核拒绝")
    private Integer auditStatus;
    @ApiModelProperty("审核时间(通过-开通时间)")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date auditTime;
    @ApiModelProperty("飞语商城账号id--用于前端显示 -->赋值给userId")
    private String fyName = "";
    @ApiModelProperty("飞语商城账号--用于前端显示-->赋值给nickName")
    private String account = "";
}
